package com.common.routes;


import com.coursemanage.account.AccountController;
import com.coursemanage.common.CommonController;
import com.coursemanage.common.model.Schools;
import com.coursemanage.course.CourseController;
import com.coursemanage.home.HomeController;
import com.coursemanage.schools.SchoolsController;
import com.jfinal.config.Routes;

public class AdminRoutes extends Routes {
	public void config() {
		//addInterceptor(new AdminInterceptor());
		add("/admin", HomeController.class);
		add("/admin/account", AccountController.class);
		add("/admin/course", CourseController.class);
		add("/admin/schools", SchoolsController.class);
		add("/admin/common", CommonController.class);
	}
}
